onAttach

open fun onAttach(@NonNull context: Context)(source)

Called when a fragment is first attached to its context. onCreate will be called after this.